#!/bin/csh -f

if ( "$1" == "-h" || "$1" == "--help" || "$1" == "" ) then
  echo
  echo "greps: searches dspsr source code for regular expression"
  echo
  echo "usage:"
  echo "  greps <regex>"
  echo
  exit
endif

grep "$*" \
	`find Kernel Signal test -name "*.[hcC]"` \
	`find Kernel Signal test -name Makefile.am` \
	`find Kernel Signal test -name "*.cu"` \
        `find Kernel Signal test -name "*.cpp"`

